bbc7aad512e6da1b293efc9cc840d244d17dd216,portal-service/src/com/liferay/portal/service/ServiceContextFactory.java,ServiceContextFactory,getInstance,#PortletRequest#,272
Before Change
assetCategoryIdsList.add(assetCategoryId);
}
assetCategoryIds = ArrayUtil.toArray(
assetCategoryIdsList.toArray(
new Long[assetCategoryIdsList.size()]));
if (foundAssetInformation) {
break;
}
foundAssetInformation = true;
}
else if (name.startsWith("assetTagNames")) {
assetTagNames = StringUtil.split(
ParamUtil.getString(request, name));
if (foundAssetInformation) {
break;
}
foundAssetInformation = true;
}
}
boolean assetEntryVisible = ParamUtil.getBoolean(
portletRequest, "assetEntryVisible", true);
long[] assetLinkEntryIds = StringUtil.split(
ParamUtil.getString(
portletRequest, "assetLinksSearchContainerPrimaryKeys"), 0L);
serviceContext.setAssetCategoryIds(assetCategoryIds);
serviceContext.setAssetEntryVisible(assetEntryVisible);
serviceContext.setAssetLinkEntryIds(assetLinkEntryIds);
serviceContext.setAssetTagNames(assetTagNames);
After Change
}
if (updateAssetCategoryIds) {
long[] assetCategoryIds = ArrayUtil.toArray(
assetCategoryIdsList.toArray(
new Long[assetCategoryIdsList.size()]));
serviceContext.setAssetCategoryIds(assetCategoryIds);
}
boolean assetEntryVisible = ParamUtil.getBoolean(